package com.ibeeking.found.upms.service.common.query;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName GlobalUserPageQuery
 * @Description SelectTenantUserQuery
 * @Author ibeeking
 * @Date 2020-11-18 9:48
 **/
@Data
public class SelectTenantUserQuery implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private Long id;
    /**
     * 用户姓名
     */
    private String userCode;
    /**
     * 用户姓名
     */
    private String name;
    /**
     * 用户昵称
     */
    private String nickName;
    /**
     * 手机
     */
    private String mobile;

    /**
     * 电话
     */
    private String tel;

    /**
     * 邮箱
     */
    private String email;
    /**
     * 关联员工Id
     */
    private Long employeeId;
    /**
     * 性别
     */
    private Integer sex;

    private Integer publishStatus;
    /**
     * 企业微信授权UserId
     */
    private String wxUserId;
    /**
     * 钉钉授权UserId
     */
    private String dingUserId;

    private Integer job;

    /**
     * 创建开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-ddTHH:mm:ss")
    private LocalDateTime createStartTime;

    /**
     * 创建结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-ddTHH:mm:ss")
    private LocalDateTime createEndTime;
}
